package com.qianli.cashmama.trade.openApi.utils.contact;

import java.io.Serializable;
import java.util.Date;

/**
 * @author daixianjun
 *         短信记录
 */
public class DeviceSms implements Serializable {

    /**
     * 短信id
     */
    private String id;
    /**
     * 短信内容
     */
    private String body;
    /**
     * 对方的手机号
     */
    private String address;

    /**
     * 对方的名称
     */
    private String name;

    /**
     * The date the message was received.
     * 格式：yyyy-MM-dd HH:mm:ss
     */
    private String date;

    /**
     * 与 date  一致
     */
    private Date dateObj;

    //1是接收
    private String type;

    /**
     * 发送时间 The date the message was sent.
     * 格式：yyyy-MM-dd HH:mm:ss
     * cashmama有的该字段是空的
     */
    private String dataSend;

    /**
     * 与 dataSend 对应
     */
    private Date dataSendDate;

    private Integer read=0;

    public Integer getRead() {
        return read;
    }

    public DeviceSms setRead(Integer read) {
        this.read = read;
        return this;
    }

    public String getType() {
        return type;
    }

    public DeviceSms setType(String type) {
        this.type = type;
        return this;
    }

    public String getId() {
        return id;
    }

    public DeviceSms setId(String id) {
        this.id = id;
        return this;
    }

    public String getBody() {
        return body;
    }

    public DeviceSms setBody(String body) {
        this.body = body;
        return this;
    }

    public String getAddress() {
        return address;
    }

    public DeviceSms setAddress(String address) {
        this.address = address;
        return this;
    }

    public String getName() {
        return name;
    }

    public DeviceSms setName(String name) {
        this.name = name;
        return this;
    }

    public String getDate() {
        return date;
    }

    public DeviceSms setDate(String date) {
        this.date = date;
        return this;
    }

    public String getDataSend() {
        return dataSend;
    }

    public DeviceSms setDataSend(String dataSend) {
        this.dataSend = dataSend;
        return this;
    }

    public Date getDateObj() {
        return dateObj;
    }

    public DeviceSms setDateObj(Date dateObj) {
        this.dateObj = dateObj;
        return this;
    }

    public Date getDataSendDate() {
        return dataSendDate;
    }

    public DeviceSms setDataSendDate(Date dataSendDate) {
        this.dataSendDate = dataSendDate;
        return this;
    }
}
